<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增用户</title>
</head>
<body>
<div>
	<s:form action="/admin/addUser.action"  method="POST">
		<table border="1" bordercolor="black" width="200px">
			<thead><tr><td colspan="2">用户信息</td></tr></thead>
			<tbody>
				<tr><td>学号</td><td><s:textfield id="userNo" name="user.userNo" /></td></tr>
				<tr><td>姓名</td><td><s:textfield id="userName" name="user.userName" /></td></tr>
				<tr><td>性别</td><td><s:radio list="#{'1':'先生','0':'女士'}" id="userSex" name="user.userSex" value="1"/></td></tr>
				<tr><td>年龄</td><td><s:textfield id="userAge" name="user.userAge" /></td></tr>
				<tr><td><s:reset></s:reset></td><td><s:submit></s:submit></td></tr>
			</tbody>
			<tfoot><tr><td colspan="2">欢迎加入...</td></tr></tfoot>
		</table>
	</s:form>
</div>
</body>
</html>